package com.ndsoft.service.model.response;

import java.util.List;

import com.ndsoft.service.model.base.Result;
import com.ndsoft.service.model.entity.User;

public class UserListResponse extends Result{
	
	/**
	 * serialVersionUID
	 */
	private static final long serialVersionUID = 1L;
	
	private List<User> users;

	public UserListResponse(String msg, String code, List<User> users) {
		super(msg, code);
		this.users = users;
	}

	public UserListResponse(String msg, String code) {
		super(msg, code);
		// TODO Auto-generated constructor stub
	}
	
	public List<User> getUsers() {
		return users;
	}

	public void setUsers(List<User> users) {
		this.users = users;
	}

	@Override
	public String toString() {
		return "UserListResponse [users=" + users + ", toString()=" + super.toString() + "]";
	}
}
